<html>
<head><meta charset="utf-8"><title>I cannot reproduce a bug in #82042 · rustdoc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/index.html">rustdoc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html">I cannot reproduce a bug in #82042</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="226471839"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226471839" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226471839">(Feb 16 2021 at 04:53)</a>:</h4>
<p>I'm working on <a href="https://github.com/rust-lang/rust/issues/82042">#82042</a> and I cannot reproduce a bug this issue says in the doc I built locally. Then I compared <a href="https://doc.rust-lang.org/std/macro.is_powerpc64_feature_detected.html">doc.rust-lang.org</a> with the doc and I found that they have a difference HTML source like the following.</p>
<p>In <a href="https://doc.rust-lang.org/std/macro.is_powerpc64_feature_detected.html">doc.rust-lang.org</a></p>
<p><a href="user_uploads/4715/DiT1tH21rp71PjQLLGfgPw_w/スクリーンショット-2021-02-16-13.41.42.png">https://rust-lang.zulipchat.com/user_uploads/4715/DiT1tH21rp71PjQLLGfgPw_w/スクリーンショット-2021-02-16-13.41.42.png</a></p>
<p><a href="user_uploads/4715/U3C6e927ia8xnpe9TRWNIQkH/スクリーンショット-2021-02-16-13.38.13.png">https://rust-lang.zulipchat.com/user_uploads/4715/U3C6e927ia8xnpe9TRWNIQkH/スクリーンショット-2021-02-16-13.38.13.png</a></p>
<p>In local doc</p>
<p><a href="user_uploads/4715/fVZGiNqGuv8t757Zc4sF8RMX/スクリーンショット-2021-02-16-13.41.42.png">https://rust-lang.zulipchat.com/user_uploads/4715/fVZGiNqGuv8t757Zc4sF8RMX/スクリーンショット-2021-02-16-13.41.42.png</a></p>
<p><a href="user_uploads/4715/F8Bi-QUAYQHD1FY_f8qHhtrD/スクリーンショット-2021-02-16-13.37.53.png">https://rust-lang.zulipchat.com/user_uploads/4715/F8Bi-QUAYQHD1FY_f8qHhtrD/スクリーンショット-2021-02-16-13.37.53.png</a></p>
<p>The order of span tags is different and I think this causes the bug. Does anyone know why this happens?</p>



<a name="226471976"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226471976" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226471976">(Feb 16 2021 at 04:55)</a>:</h4>
<p>are you sure the versions of rustdoc you're using are the same?</p>



<a name="226472264"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226472264" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226472264">(Feb 16 2021 at 05:01)</a>:</h4>
<p>also I tried this on <a href="http://rust-lang.org">rust-lang.org</a> and I can't reproduce the bug either, I would say something to the issue author</p>



<a name="226473026"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226473026" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226473026">(Feb 16 2021 at 05:16)</a>:</h4>
<p><span class="user-mention silent" data-user-id="232545">Joshua Nelson</span> <a href="#narrow/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042/near/226471976">said</a>:</p>
<blockquote>
<p>are you sure the versions of rustdoc you're using are the same?</p>
</blockquote>
<p>I will check it.</p>
<p><span class="user-mention silent" data-user-id="232545">Joshua Nelson</span> <a href="#narrow/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042/near/226472264">said</a>:</p>
<blockquote>
<p>also I tried this on <a href="http://rust-lang.org">rust-lang.org</a> and I can't reproduce the bug either, I would say something to the issue author</p>
</blockquote>
<p>I can reproduce the bug in <a href="https://doc.rust-lang.org/std/macro.is_powerpc64_feature_detected.html">doc.rust-lang.org</a>  by following the steps in <a href="https://github.com/rust-lang/rust/issues/82042">#82042</a>.</p>



<a name="226473061"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226473061" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226473061">(Feb 16 2021 at 05:16)</a>:</h4>
<p>oh weird</p>



<a name="226473065"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226473065" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226473065">(Feb 16 2021 at 05:16)</a>:</h4>
<p>what browser are you using?</p>



<a name="226473097"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226473097" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226473097">(Feb 16 2021 at 05:17)</a>:</h4>
<p>I'm using Google Chrome.</p>



<a name="226473103"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226473103" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226473103">(Feb 16 2021 at 05:18)</a>:</h4>
<p>I'm on firefox, maybe it matters?</p>



<a name="226473159"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226473159" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226473159">(Feb 16 2021 at 05:18)</a>:</h4>
<p>I'm going to try this on other browsers.</p>



<a name="226473291"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226473291" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226473291">(Feb 16 2021 at 05:21)</a>:</h4>
<p>I can't reproduce the bug on Safari.</p>



<a name="226476784"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226476784" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226476784">(Feb 16 2021 at 06:26)</a>:</h4>
<p>I cannot reproduce the bug In <a href="https://doc.rust-lang.org/nightly/std">https://doc.rust-lang.org/nightly/std</a> on Google Chrome. And the order of span tags in nightly std doc is as I expected.</p>



<a name="226477104"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226477104" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226477104">(Feb 16 2021 at 06:32)</a>:</h4>
<p>The following commit changed the order of span tags, so I can't reproduce the bug in nightly std doc.<br>
<a href="https://github.com/rust-lang/rust/commit/74f26a1e620e2f9c7a53e3bc1d8907c525c1e9ad">https://github.com/rust-lang/rust/commit/74f26a1e620e2f9c7a53e3bc1d8907c525c1e9ad</a></p>



<a name="226477234"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226477234" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226477234">(Feb 16 2021 at 06:34)</a>:</h4>
<p>As a result, I think the bug is specific to older versions of rustdoc.</p>



<a name="226477705"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226477705" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226477705">(Feb 16 2021 at 06:43)</a>:</h4>
<p>Ok, ping me tomorrow and I can close the issue. It could use a test ideally but I have no idea how to test it.</p>



<a name="226477812"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/226477812" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#226477812">(Feb 16 2021 at 06:45)</a>:</h4>
<p>As mentioned above, I think the bug is specific to older versions of rustdoc and the kind of browsers doesn't have a direct relationship with it. <span class="user-mention" data-user-id="232545">@Joshua Nelson</span></p>



<a name="227061159"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/227061159" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#227061159">(Feb 20 2021 at 03:19)</a>:</h4>
<p><span class="user-mention" data-user-id="232545">@Joshua Nelson</span>  Could you close this issue?</p>



<a name="227108351"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/227108351" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#227108351">(Feb 20 2021 at 18:19)</a>:</h4>
<p><span class="user-mention" data-user-id="343125">@Takayuki Maeda</span> the author said they could reproduce in Chrome</p>



<a name="227109588"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/227109588" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#227109588">(Feb 20 2021 at 18:41)</a>:</h4>
<p><span class="user-mention" data-user-id="232545">@Joshua Nelson</span> <br>
Ok. As mentioned above, the easiest way to solve this bug is build <a href="https://doc.rust-lang.org/stable/std/">https://doc.rust-lang.org/stable/std/</a> and other docs with newer version of rustdoc. Could you tell me how to do it properly?</p>



<a name="227127657"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/227127657" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#227127657">(Feb 20 2021 at 23:42)</a>:</h4>
<p>Once <code>/stable/std</code> is built, it doesn't change until the next version. So we just have to wait until the next release.</p>



<a name="227127670"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/227127670" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#227127670">(Feb 20 2021 at 23:42)</a>:</h4>
<p>(At least, that's my understanding.)</p>



<a name="227128509"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/227128509" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#227128509">(Feb 21 2021 at 00:00)</a>:</h4>
<p>Issue closed; OP confirmed that bug is fixed on beta and nightly.</p>



<a name="227139581"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/I%20cannot%20reproduce%20a%20bug%20in%20%2382042/near/227139581" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Maeda <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/I.20cannot.20reproduce.20a.20bug.20in.20.2382042.html#227139581">(Feb 21 2021 at 04:03)</a>:</h4>
<p><span class="user-mention" data-user-id="307537">@Camelid</span> <br>
Ohh I get it. Thank you for closing this issue!<br>
Next time, I’ll make sure to ask if the author can reproduce bugs on other versions of rustdoc.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>